package com.softstao.guoyu.model;

/**
 * Created by vaikus on 2017/6/15.
 */

public class PageInfo {
    /**
     * pageIndex : 3
     * pageSize : 10
     * total : 30
     * hasnext : false
     */

    private int pageIndex;
    private int pageSize;
    private int total;
    private boolean hasnext;

    public int getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(int pageIndex) {
        this.pageIndex = pageIndex;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public boolean isHasnext() {
        return hasnext;
    }

    public void setHasnext(boolean hasnext) {
        this.hasnext = hasnext;
    }
}
